#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <time.h>
#include <dos.h>
#include <string.h>

#include "codepage.h"
#include "sprite.h"
#include "pixmap.h"
#include "rtc.h"
#include "kbc.h"

char table[256*CHR_H];

int gameover;

RTC_TIME rtc_ini, rtc_tmp;

extern int scancode;


void move_duck(Sprite *s, char* base);

void move_cross(Sprite *s, char* base);

void kill_duck(Sprite *s, char* base);

void fly_away(Sprite *s, char* base);

void draw_dog(char* base);

RTC_TIME timer();

void std_screen(Sprite *back, char* base, int nivel);

void animate_game(int xspeed, int yspeed, int nivel, char* base);
